package com.googlecode.gwtdb.client.indexeddb.sub;

import com.googlecode.gwtdb.client.indexeddb.IDBCallback;
import com.googlecode.gwtdb.client.indexeddb.IDBReadyState;
import com.googlecode.gwtdb.client.indexeddb.event.IDBBaseError;

public interface IDBDeleteDBRequest {

  public IDBDeleteDBRequest getResult();

  public IDBBaseError getError();

  public IDBReadyState getReadyState();

  public void setOnError(IDBCallback<IDBBaseError> event);

  public void setOnSuccess(IDBCallback<IDBDeleteDBRequest> event);

  public void setOnBlocked(IDBCallback<IDBBaseError> callback);

  public void setOnUpgradeNeded(IDBCallback<Void> callback);
}
